/* Copyright 2020 The TensorFlow Authors. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
==============================================================================*/
@use '@angular/material' as mat;
@use '@angular/material' as matm2;
@use '@angular/material' as matm2var;

$tf-slate: (
  100: #f5f6f7,
  200: #f5f6f7,
  300: #c6cad1,
  400: #8e98a3,
  500: #8e98a3,
  600: #425066,
  700: #425066,
  800: #425066,
  900: #293241,
  contrast: (
    100: rgba(black, 0.87),
    200: rgba(black, 0.87),
    300: rgba(black, 0.87),
    400: rgba(black, 0.87),
    500: white,
    600: white,
    700: white,
    800: white,
    900: white,
  ),
);

/* The tf-orange palette predates the migration to Angular and is not
   well-defined and is not well-mapped to the tf-slate palette. It could use
   more work. One source to consider is tensorboard-color.html, which contains
   several orange values, but only one of them (--tb-orange-strong) is used
   widely. */
$tf-orange: (
  100: matm2.get-color-from-palette(matm2var.$orange-palette, 100),
  200: matm2.get-color-from-palette(matm2var.$orange-palette, 200),
  300: matm2.get-color-from-palette(matm2var.$orange-palette, 300),
  400: matm2.get-color-from-palette(matm2var.$orange-palette, 400),
  500: matm2.get-color-from-palette(matm2var.$orange-palette, 500),
  600: matm2.get-color-from-palette(matm2var.$orange-palette, 600),
  700: matm2.get-color-from-palette(matm2var.$orange-palette, 700),
  800: matm2.get-color-from-palette(matm2var.$orange-palette, 800),
  900: matm2.get-color-from-palette(matm2var.$orange-palette, 900),
  contrast: (
    100: rgba(black, 0.87),
    200: rgba(black, 0.87),
    300: rgba(black, 0.87),
    400: rgba(black, 0.87),
    500: white,
    600: white,
    700: white,
    800: white,
    900: white,
  ),
);
